package com.javalong.affairs.constant;

import java.lang.reflect.Type;
import java.util.List;

import com.google.gson.reflect.TypeToken;
import com.javalong.affairs.model.Dept;
import com.javalong.affairs.model.MessageInfo;
import com.javalong.affairs.model.MessageStatistic;
import com.javalong.affairs.model.Schedule;
import com.javalong.affairs.model.SimpleMessage;
import com.javalong.affairs.model.User;

public class DataType {
	public final static Type MESSAGE = new TypeToken<MessageInfo>() {
	}.getType();
	public final static Type USER = new TypeToken<User>() {
	}.getType();
	public final static Type LIST_MESSAGE = new TypeToken<List<MessageInfo>>() {
	}.getType();
	public final static Type LIST_USER = new TypeToken<List<User>>() {
	}.getType();
	public final static Type LIST_DEPT = new TypeToken<List<Dept>>() {
	}.getType();
	public final static Type LIST_SIMPLEMESSAGE = new TypeToken<List<SimpleMessage>>() {
	}.getType();
	public final static Type MESSAGESTATISTIC = new TypeToken<MessageStatistic>() {
	}.getType();
	public final static Type SCHEDULE = new TypeToken<Schedule>() {
	}.getType();
}
